#ifndef MULORDERROLE_H
#define MULORDERROLE_H
#include"../orderRoleBase.h"

//乘法优惠器，打折

class MulOrderRole:public OrderRoleBase
{
public:
    MulOrderRole(){
        type=CLASS_MULORDERROLE;
    }

    virtual double priceAdjustment(vector<SaleBase*> sales,double curPrice)
    {
        Q_UNUSED(sales);
        return curPrice*value;
    }

    virtual void selectOne(){};

    virtual void del(){};

    virtual void insert(){};
};

#endif // MULORDERROLE_H
